package com.tencent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tencent.entity.Member;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @author: Fame
 * @date: 2022-08-31 15:04
 * @description:
 */
public interface MemberYMapper extends BaseMapper<Member> {

    Member findByTelephone(String telephone);

    void add(Member member);

    @Select("select level from t_member where id = #{id}")
    String getLevelById(Integer id);


}
